import request from '@/utils/request'

// 查询心率信息列表
export function listRing_heart_rate_info(query) {
  return request({
    url: '/ring/ring_heart_rate_info/list',
    method: 'get',
    params: query
  })
}

// 查询心率信息详细
export function getRing_heart_rate_info(id) {
  return request({
    url: '/ring/ring_heart_rate_info/' + id,
    method: 'get'
  })
}

// 新增心率信息
export function addRing_heart_rate_info(data) {
  return request({
    url: '/ring/ring_heart_rate_info',
    method: 'post',
    data: data
  })
}

// 修改心率信息
export function updateRing_heart_rate_info(data) {
  return request({
    url: '/ring/ring_heart_rate_info',
    method: 'put',
    data: data
  })
}

// 删除心率信息
export function delRing_heart_rate_info(id) {
  return request({
    url: '/ring/ring_heart_rate_info/' + id,
    method: 'delete'
  })
}
